.aqi-levels {

  background-color:'#394056';
  padding-top: 20px;
  color: #fff;
}

.level-item {
  margin-bottom: 6px;
  opacity: 0.4;
}

.level-item.active {
  opacity: 1;
}

.level-content {
  display: flex;
  align-items: center;
  position: relative;
}

/* 装饰点样式 */
.dots {
  display: flex;
  gap: 2px;
  margin-right: 8px;
}

.dot {
  width: 2px;
  height: 2px;
  background-color: #126bfb;
  border-radius: 50%;
}

.level-item:not(.active) .dot {
  background-color: #666;
}

/* 文本样式 */
.text {
  font-size: 13px;
  white-space: nowrap;
  margin-right: 8px;
  letter-spacing: 1px;
}

/* 线条样式 */
.line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    #126bfb 0%,
    #126bfb 60%,
    rgba(18, 107, 251, 0.1) 100%
  );
}

.level-item:not(.active) .line {
  background: linear-gradient(
    to right,
    #666 0%,
    #666 60%,
    rgba(102, 102, 102, 0.1) 100%
  );
}

/* 左侧蓝色指示条 */
.level-item.active::before {
  content: '';
  position: absolute;
  left: -20px;  /* 对应父元素的 padding */
  top: 0;
  width: 2px;
  height: 100%;
  background-color: #126bfb;
}